New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sanity/presentation-comlink

Package Overview
Dependencies
Maintainers
79
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/presentation-comlink

> [!WARNING] > This package is not meant to be used directly, it's a shared dependency of `sanity/presentation` and `@sanity/visual-editing`. Using it in production is at your own risk.

1.0.13
latest
Source
npm
Version published
Weekly downloads
101K
8.22%
Maintainers
79
Weekly downloads
 
Created
Source

[!WARNING]
This package is not meant to be used directly, it's a shared dependency of sanity/presentation and @sanity/visual-editing. Using it in production is at your own risk.

The sanity/presentation tool requires a way to communicate with the application that lives within its preview iframe. The application is required to load up at least @sanity/visual-editing, but can also load up @sanity/core-loader, @sanity/next-loader, @sanity/svelte-loader, and @sanity/react-loader. It uses @sanity/comlink to communicate over the iframe, and any popup preview windows, over the window.postMessage protocol. The typings for those messages are defined in this package, as well as utils for maintaining compatibility with how older versions of sanity/presentation and @sanity/visual-editing used to format its message payloads, and helpers for handling payloads..

FAQs

Package last updated on 24 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts